package org.daidai.abstrusewriting.homepage.top.model;

import com.google.gson.annotations.SerializedName;

import java.util.List;

/**
 * Created by liuch on 2016/10/31.
 */

public class ListItem {
    @SerializedName("title")
    private String title;
    @SerializedName("coverPath")
    private String coverPath;
    @SerializedName("rankingListId")
    private int rankingListId;
    @SerializedName("firstKResults")
    private List<Result> firstKResults;
    @SerializedName("key")
    private String key;

    public class Result{
        @SerializedName("title")
        private String title;
        @SerializedName("id")
        private long id;

        public String getTitle() {
            return title;
        }

        public void setTitle(String title) {
            this.title = title;
        }

        public long getId() {
            return id;
        }

        public void setId(long id) {
            this.id = id;
        }
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getCoverPath() {
        return coverPath;
    }

    public void setCoverPath(String coverPath) {
        this.coverPath = coverPath;
    }

    public int getRankingListId() {
        return rankingListId;
    }

    public void setRankingListId(int rankingListId) {
        this.rankingListId = rankingListId;
    }

    public List<Result> getFirstKResults() {
        return firstKResults;
    }

    public void setFirstKResults(List<Result> firstKResults) {
        this.firstKResults = firstKResults;
    }

    public String getKey() {
        return key;
    }

    public void setKey(String key) {
        this.key = key;
    }
}
